package com.crane.oss.sys.bean.resp;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author bealon
 * @email ccsu123456@qq.com
 * @date 2018年12月28日 12时22分23秒
 */
@Getter
@Setter
@ToString
public class UserBean implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long userId;
    private String userName;
    private Integer userLabel;
    private Integer userType;
    private String realName;
    private String email;
    private Integer sex;
    private String mobile;
    private Integer status;
    private String headUrl;
    private Date lastLoginTime;
    private String lastLoginIp;
    private Date createTime;
    //所属角色列表
    private List<Long> roleIdList;
    //所属角色列表
    private List<PartyBean> partyBeanList;
    //取角色第一个  用于登录显示
    private List<RoleBean> roleBeanList;
    //机构id
    private Long partyId;

    private Integer partyType;
    //机构代码
    private String partyCode;
    //机构名称
    private String partyName;
    /**
     * 省
     */
    private String provinceName;
    /**
     * 市
     */
    private String cityName;

    /**
     * 区
     */
    private String areaName;
}
